home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gawk
/
gawk2115.zoo
/
gawk_st
/
READ.ME
< prev
Wrap
Text File
|
1994-05-23
|
2KB
|
42 lines
This archive contains a version 2.15.5 of gawk, as officially
released, compiled for Atari family of computers. gawk is covered by
GNU GENERAL PUBLIC LICENSE. See COPYING for details. Sources for
gawk can be found on any archive, all over the world, which carries a
regular GNU software. An official released version includes Atari
support, and compiles both with 32-bit wide and 16-bit wide ints, but
you will need an ANSI compiler for a correct compilation.
Libraries used for this binary release are TOS libraries. This
implies that gawk pipes are simulated, but they do work as long as you
have enough of space for gawk temporary files. If you need version to
be run under MiNT you will have to recompile it yourself from an
original release (which does not require any special efforts). The
only requiremet is that if you are compiling with PML math library you
need an updated version of it. Older versions have rounding problems
in fmod() function which causes incorrect matches on statements like
'if (i % 3) == 1 {...}'. In case you have have this problem you may
define FMOD_MISSING in your Makefile which will force a use of a
correct variant.
If you are compiling with libraries which are using coprocessor
support, then you are not affected by the bug above (unless your chip
got fmod() wrong).
The only Atari-specific information on an included manpage is a
default value of AWKPATH on Atari which differs from its Unix
equivalent.
Compiler used was gcc, version 2.5.8, with -O2 -fomit-frame-pointer
options. It is possible to compile gawk using also -mshort, but in
unpatched version of the compiler this triggers an optimizer bug (it
does not occur in gcc 2.4.5). If, for some reasons, you need -mshort
as well and your compiler suffers from this problem, then add
'volatile' qualifier to two occurences of 'fail_stack' declaration in
regex.c. This hides the bug.
For your perusal a relatively recent part of NEWS file from original
sources is also included.
Happy gawking.